package com.motherchild.admin.mapper;

import com.motherchild.admin.dto.RoleDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMapper {
    List<RoleDTO> selectAllRoles();
    RoleDTO selectRoleById(Long id);
    void insertRole(RoleDTO roleDTO);
    void updateRole(RoleDTO roleDTO);
    void deleteRole(Long id);
} 